package tools.clustering.isodata;

public class isodata_consensus {

	/**
	 * @param args
	 */
	public static void main(String[] args) throws Exception{
		if(args.length<2){
			System.out.println(printHelp());
			System.exit(616);
		}
		isodata_stat.intersectionClusters(args[0]+"_many.csv", args[0]+"_intersection");
		isodata_stat.consensusClusters(args[0]+"_intersection.data", args[0], Double.parseDouble(args[1]));

		System.out.println("Done!");
		System.exit(0);
	}

	public static String printHelp(){
		String help="consensus <prefix> <limit>";
		return help;
	}
}
